﻿/*
    Classical play cards use the following signs to designate the card face: `2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K and A. 
    Write a program that enters a string and prints “yes” if it is a valid card sign or “no” otherwise.
 */

using System;
class CheckForAPlayCard
{
    static void Main()
    {
        Console.WriteLine(@"Enter 2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K or A. ""j,q,k,a"" are not allowed");
        string card = Console.ReadLine();

        switch (card)
        {
            case "2": 
            case "3": 
            case "4": 
            case "5": 
            case "6": 
            case "7": 
            case "8": 
            case "9": 
            case "10":
            case "J":                                           //not "j"
            case "D":                                           //not "d"
            case "K":                                           //not "k"
            case "A": Console.WriteLine("YES"); break;          //not "a"
            default: Console.WriteLine("NO");
                break;
        }
    }
}